import { axios } from '@/utils/request'

export function getArticleList () {
  return axios({
    url: '/article/list',
    method: 'get'
  })
}

export function getArticleById (id) {
  return axios({
    url: '/article/' + id,
    method: 'get'
  })
}
